package com.cskaoyan.mall.dao;

import com.cskaoyan.mall.model.bo.PageOrdersBO;
import com.cskaoyan.mall.model.bo.UpdateOrderBO;
import com.cskaoyan.mall.model.vo.GetOrderVO;
import com.cskaoyan.mall.model.vo.PageOrdersVO;

import java.util.List;

public interface OrdersDao {

    Integer getTotalCount(PageOrdersBO pageOrdersBO);

    List<PageOrdersVO> getOrderByPage(PageOrdersBO pageOrdersBO);

    GetOrderVO order(String id);

    int changeOrder(UpdateOrderBO updateOrderBO);

    int deleteOrder(String id);
}
